package cn.net.mysoft.account.api.exception;

public class MyException extends Exception{
    private final String retcode;
    private final String msg;
    public MyException(String s){super(s);retcode="-2";msg=s;}
    public MyException(String r, String s){super(s);retcode = r;msg=s;}

    public String getMsg() {
        return retcode + ":" + msg;
    }

    public String getRetcode() {
        return retcode;
    }
}
